Skip to content

Conversation

@knqyf263
Copy link
Contributor

Before:

$ go test ./...
# golang.org/x/vulndb/osv [golang.org/x/vulndb/osv.test]
osv/json_test.go:18:3: cannot use []struct { Module string; Package string; Symbols []string; Versions []report.VersionRange }{...} (type []struct { Module string; Package string; Symbols []string; Versions []report.VersionRange }) as type []struct { Module string "yaml:\",omitempty\""; Package string "yaml:\",omitempty\""; Symbols []string "yaml:\",omitempty\""; Versions []report.VersionRange "yaml:\",omitempty\"" } in field value
osv/json_test.go:46:3: cannot use struct { PR string; Commit string; Context []string }{...} (type struct { PR string; Commit string; Context []string }) as type struct { PR string "yaml:\",omitempty\""; Commit string "yaml:\",omitempty\""; Context []string "yaml:\",omitempty\"" } in field value
ok      golang.org/x/vulndb/client      (cached)
?       golang.org/x/vulndb/cmd/gendb   [no test files]
?       golang.org/x/vulndb/cmd/genhtml [no test files]
?       golang.org/x/vulndb/cmd/linter  [no test files]
?       golang.org/x/vulndb/cmd/report2cve      [no test files]
FAIL    golang.org/x/vulndb/osv [build failed]
?       golang.org/x/vulndb/report      [no test files]
FAIL

After:

$ go test ./...
ok      golang.org/x/vulndb/client
?       golang.org/x/vulndb/cmd/gendb   [no test files]
?       golang.org/x/vulndb/cmd/genhtml [no test files]
?       golang.org/x/vulndb/cmd/linter  [no test files]
?       golang.org/x/vulndb/cmd/report2cve      [no test files]
ok      golang.org/x/vulndb/osv 0.243s
?       golang.org/x/vulndb/report      [no test files]

@google-cla google-cla bot added the cla: yes label Apr 28, 2021
@knqyf263 knqyf263 mentioned this pull request Apr 28, 2021
@gopherbot
Copy link
Contributor

This PR (HEAD: 90393cf) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/vulndb/+/314669 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

gopherbot pushed a commit that referenced this pull request Jan 13, 2023
Adds GHSA and fixes typo in symbol.

Aliases: CVE-2020-36569, GHSA-hrm3-3xm6-x33h

Updates #4
Fixes #1227
Updates #1282

Change-Id: I027596c711959a8704c674a7e377dcb0dca535e6
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/461235
Run-TryBot: Tatiana Bradley <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
Reviewed-by: Damien Neil <[email protected]>
Reviewed-by: Tatiana Bradley <[email protected]>
@ethanalee-work
Copy link
Contributor

Closing as obsolete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants